﻿using RestSharp;
using System.Collections.Generic;

namespace Akka.Ext.Http
{
    public class RequestInfo
    {
        public Method Method { get; set; }

        public int Timeout { get; set; } = 3000;

        public string Url { get; set; }

        public Dictionary<string, string> Header { get; set; } = new Dictionary<string, string>();

        public Dictionary<string, string> Cookie { get; set; } = new Dictionary<string, string>();

        public Dictionary<string, string> Query { get; set; } = new Dictionary<string, string>();

        public Dictionary<string, string> Form { get; set; } = new Dictionary<string, string>();

        public string JsonBody { get; set; }

        public List<UploadFileInfo> Files { get; set; } = new List<UploadFileInfo>();
    }
}
